package day124;

public class RegDemo07 {
    public static void main(String[] args) {
    String reg="/d{6}";
        System.out.println(reg);
    String s1="Jerry1";
    String s2="{12}";
    System.out.println(s1.matches(reg));
    System.out.println(s2.matches(reg));
}
}

